package com.app.pojo.demo;

import java.io.Serializable;
import java.util.Date;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;

/**
 * 人员表 <br/>
 * Date: 2015-10-23 上午11:14:55 <br/>
 * jpa 文档 https://www.51cto.com/article/743932.html
 * @author xuejianxin
 */
@Entity
public class Demo2 implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;
	private String name;
	private Date createDate;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Override
	public String toString() {
		return String.format("Demo2 [id=%s, name=%s, createDate=%s]", id, name, createDate);
	}
	
	

}
